home *** CD-ROM | disk | FTP | other *** search
- package sun.applet;
-
- import java.security.PrivilegedAction;
- import java.util.Enumeration;
-
- final class AppletSecurity$1 implements PrivilegedAction {
- // $FF: synthetic field
- final AppletSecurity this$0;
-
- AppletSecurity$1(AppletSecurity var1) {
- this.this$0 = var1;
- }
-
- public Object run() {
- Enumeration var1 = System.getProperties().propertyNames();
-
- while(var1.hasMoreElements()) {
- String var2 = (String)var1.nextElement();
- if (var2 != null && var2.startsWith("package.restrict.access.")) {
- String var3 = System.getProperty(var2);
- if (var3 != null && var3.equalsIgnoreCase("true")) {
- String var4 = var2.substring(24);
- AppletSecurity.access$000(this.this$0).add(var4);
- }
- }
- }
-
- return null;
- }
- }
-